home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / utilities / gadoc.lha / gadoc.c / Makefile < prev    next >
Encoding:
Makefile  |  1995-03-02  |  474 b   |  27 lines

  1.  
  2. #                 GAdoc Feb 1995
  3. #
  4. # Makefile for the ``Get AutoDOC'' program (c) by Gerhard Leibrock, 1995
  5. #
  6. # It extracts the autodocs from a given file and generates a texinfo file
  7. # that consists of two parts: "<name>.menu" and "<name>.data"
  8. #
  9.  
  10. SFLAGS    = -O2 -Wall -pedantic
  11.  
  12. # Remove this line if you do not compile on an Amiga
  13. AFLAGS  = -noixemul
  14.  
  15. .c.o:
  16.     gcc $(CFLAGS) $(SFLAGS) -c $*.c
  17.  
  18.  
  19. all:     gadoc
  20.  
  21. gadoc: main.c
  22.     gcc -o gadoc $(SFLAGS) $(AFLAGS) main.c
  23.  
  24. clean:
  25.     $(RM) $(OBJ)
  26.  
  27.